//用法见mainRouter.js
// import { Navigate } from "react-router-dom";
import CoachList from "../componet/UserManagement/CoachList/CoachList";
import AddCoach from "../componet/UserManagement/CoachList/AddCoach";
import ChakanCoach from "../componet/UserManagement/CoachList/ChakanCoach";
import MemberCart from "../componet/UserManagement/MemberCart/MemberCart";
import EidtCoach from "../componet/UserManagement/CoachList/EidtCoach";
import AddCart from "../componet/UserManagement/MemberCart/AddCart";
import ChaKanCart from "../componet/UserManagement/MemberCart/ChaKanCart";
import EditCart from "../componet/UserManagement/MemberCart/EditCart";
import MemberGrade from "../componet/UserManagement/MemberGrade/MemberGrade";
import EditMemberGrade from "../componet/UserManagement/MemberGrade/EditMemberGrade";
import AddMemberGrade from "../componet/UserManagement/MemberGrade/AddMemberGrade";
import AddUser from "../componet/UserManagement/MemberList/AddUser";
import User from "../componet/UserManagement/MemberList/User";
import Memberlist from "../componet/UserManagement/MemberList/Memberlist";
const yyRouter = [
  {
    path: "CoachList",
    element: <CoachList></CoachList>
  },
  {
    path: "AddCoach",
    element: <AddCoach></AddCoach>
  },
  {
    path: "ChakanCoach",
    element: <ChakanCoach></ChakanCoach>
  },
  {
    path: "MemberGrade",
    element: <MemberGrade></MemberGrade>
  },
  {
    path: "MemberCart",
    element: <MemberCart></MemberCart>
  },
  {
    path: "EditMemberGrade",
    element: <EditMemberGrade></EditMemberGrade>
  },
  {
    path: "AddMemberGrade",
    element: <AddMemberGrade></AddMemberGrade>
  },
  {
    path: "AddCart",
    element: <AddCart></AddCart>
  },
  {
    path: "ChaKanCart",
    element: <ChaKanCart></ChaKanCart>
  },
  {
    path: "EditCart",
    element: <EditCart></EditCart>
  },
  {
    path: "EidtCoach",
    element: <EidtCoach></EidtCoach>
  },
  {
    path: "User",
    element: <User></User>
  },
  {
    path: "Memberlist",
    element: <Memberlist></Memberlist>
  },
  {
    path: "AddUser",
    element: <AddUser></AddUser>
  },
];
export default yyRouter;

// import Group from "../pages/course-manage/group/group";
// import Personal from "../pages/course-manage/personal/personal";
// import Review from "../pages/course-manage/review/review";
// const wqxRouter = [
//     {
//         path: "group",
//         element: <Group></Group>
//       },
//     {
//         path: "personal",
//         element: <Personal></Personal>
//       },
//     {
//         path: "review",
//         element:<Review></Review>
//       }
//
// ];
// export default wqxRouter;
